package team.zero.lemon.module.workflow.dao;

import org.apache.ibatis.annotations.Param;
import team.zero.lemon.common.persistence.ICrudDao;
import team.zero.lemon.common.persistence.annotation.MyBatisDao;
import team.zero.lemon.module.workflow.entity.ActivityForm;

import java.util.List;

@MyBatisDao
public interface IActivityFormDao extends ICrudDao<ActivityForm> {
    void deleteByFormId(@Param("formId") Integer formId);

    List<ActivityForm> findByActivityId(@Param("activityId") Integer activityId);

    List<ActivityForm> findByFormId(@Param("formId") Integer formId);
}